package com.spring.component.auth.utils;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liushihua
 * @since 2018年04月03日
 */
@Component
@ConfigurationProperties(prefix = "spring.config.auth.white")
public class WhiteResourceList {
  private List<WhiteResourceItem> list = new ArrayList<>();

  public List<WhiteResourceItem> getList() {
    return list;
  }

  public void setList(List<WhiteResourceItem> list) {
    this.list = list;
  }

  @Override
  public String toString() {
    return "WhiteResourceList{" + "list=" + list + '}';
  }
}
